﻿/*
 * @Autor: PK
 */

using System;
using System.Xml;

namespace ShkSimulation.core.util.osm {
	public class BaseItem {
		protected T GetAttribute<T>(string attrName, XmlAttributeCollection attributes) {        
			string strValue = attributes[attrName].Value;
			return (T)Convert.ChangeType(strValue, typeof(T));
		}
	}
}